
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/update/${user.id}" method="post">
    <table align="center" border="1">
        <tr align="center">
            <td colspan="2"><h2>添加用户</h2></td>
        </tr>
        <tr align="center">
            <td>编号</td>
            <td>
                <input type="text" name="devCode" id="devCode" value="${user.devCode}"/>
                <span style="color: red"></span>
            </td>
        </tr>
        <tr align="center">
            <td>名称</td>
            <td>
                <input type="text" name="devName" id="devName" value="${user.devName}"/>
                <span style="color: red"></span>
            </td>
        </tr>
        <tr align="center">
            <td>密码</td>
            <td>
                <input type="text" name="devPassword" id="devPassword" value="${user.devPassword}"/>
                <span style="color: red"></span>
            </td>
        </tr>
        <tr align="center">
            <td>邮件</td>
            <td>
                <input type="text" name="devEmail" id="devEmail" value="${user.devEmail}"/>
                <span style="color: red"></span>
            </td>
        </tr>
        <tr align="center">
            <td>Info</td>
            <td>
                <input type="text" name="devInfo" id="devInfo" value="${user.devInfo}"/>
                <span style="color: red"></span>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <input type="submit" name="update" id="update" value="保存">
            </td>
        </tr>
    </table>
</form>
<input type="hidden" id="path" value="${pageContext.request.contextPath}">
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/updateUser.js"></script>
</body>
</html>
